package com.smart.manager.product.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.product.entities.enums.ProfileStatus;
import com.smart.manager.product.entities.enums.ServeTask;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 游戏管理  服务管理
 * @author leo
 * @date 2023/09/08
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Accessors(chain = true)
@Table(name = "product_props_serve")
public class PropsServe extends BaseLongModel {

    @ApiModelProperty("服务代码")
    private String code;

    @ApiModelProperty("服务名称")
    private String name;

    @ApiModelProperty("档案图标")
    private String icon;

    @ApiModelProperty("售价金币")
    private Integer price;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("触发任务标题")
    private String title;

    @ApiModelProperty("任务描述")
    private ServeTask task;

    @ApiModelProperty("触发任务时效")
    private Integer day;

    @ApiModelProperty("服务状态")
    private ProfileStatus status;

    @ApiModelProperty("显示排序")
    private Integer sort;

}
